@layout("/common/_container.html",{js:["/assets/modular/shuheng/chart/rank.js?v=5"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">地区排名</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            @if(userLevel==1){
                            <div class="layui-inline">
                                <input type="radio" name="rankType" value="2" lay-filter="rankType" title="市排名" checked="">
                                <input type="radio" name="rankType" value="3" lay-filter="rankType" title="区县排名">
                            </div>
                            <div class="layui-inline city">
                                <select name="city" id="city" lay-filter="city">
                                    <option value="">请选择市</option>
                                </select>
                            </div>
                            @}
                            <div class="layui-inline">
                                <input type="hidden" id="userLevel" value="${userLevel}">

                                <select name="year" id="year" lay-filter="year">
                                    @for(item in yearList){
                                    <option value="${item}">${item}年</option>
                                    @}
                                </select>
                            </div>
                            <div class="layui-inline">
                                <div class="" id="month"></div>
                            </div>
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                            </div>
                            <div class="layui-inline">
                                <button id="exportExcel" class="layui-btn layui-btn-warm icon-btn">导出excel</button>
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="rankTable" lay-filter="rankTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

@}